package ipebg.mzk.facade.system.service;

import ipebg.mzk.facade.entity.MsAdminRole;
import ipebg.mzk.facade.entity.MsAdminUserRole;

import java.util.List;

public interface UserRoleService {

	/**
	 * 獲取用戶所有的角色列表
	 * @param userId
	 * @return
	 */
	public List<MsAdminRole> getRoleListByUserId(String userId);
	
	/**
	 * 獲取用戶所有的用戶角色列表
	 * @param userId
	 * @return
	 */
	public List<MsAdminUserRole> getUserRoleListByUserId(String userId);
	
	public void delete(MsAdminUserRole userRole);
	
	public void save(MsAdminUserRole userRole);
}
